<?php

/* @var $this \yii\web\View */
/* @var $content string */

use ijony\helpers\Url;
use wap\assets\AppAsset;
use yii\helpers\Html;
use yii\widgets\Breadcrumbs;

AppAsset::register($this);
?>
<?php $this->beginPage() ?>
<!DOCTYPE html>
<html lang="<?= Yii::$app->language ?>">
<head>
    <meta charset="<?= Yii::$app->charset ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=1">
    <?= Html::csrfMetaTags() ?>
    <title><?= Html::encode($this->title) ?></title>
    <?php $this->head() ?>
</head>
<body>
<?php $this->beginBody() ?>

<nav class="navbar navbar-default navbar-static-top">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <i class="iconfont icon-caidan"></i></button>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
                <li class="<?= $this->context->checkActive(1); ?>"><a href="<?= Url::to(['site/index']) ?>">关于Biffar</a>
                </li>
                <li class="<?= $this->context->checkActive(7); ?>">
                    <a href="<?= Url::to(['site/company']) ?>">Biffar Company</a></li>
                <li class="<?= $this->context->checkActive(2); ?>">
                    <a href="<?= Url::to(['site/porsche']) ?>">保时捷跨界之作</a></li>
                <li class="<?= $this->context->checkActive(3); ?>">
                    <a href="<?= Url::to(['product/index']) ?>">Biffar产品</a></li>
                <li class="<?= $this->context->checkActive(4); ?>">
                    <a href="<?= Url::to(['case/index']) ?>">Biffar工程案例</a></li>
                <li class="<?= $this->context->checkActive(5); ?>">
                    <a href="<?= Url::to(['timeline/index']) ?>">Biffar事记</a></li>
                <li class="<?= $this->context->checkActive(6); ?>"><a href="<?= Url::to(['site/contact']) ?>">联系我们</a>
                </li>
            </ul>
        </div><!--/.nav-collapse -->
    </div>
</nav>

<div class="tbody">
    <?php if (isset($this->params['breadcrumbs'])) { ?>
        <div class="location">
            <div class="container">
                <?= Breadcrumbs::widget([
                    'homeLink' => false,
                    'itemTemplate' => '{link}',
                    'activeItemTemplate' => '<span>{link}</span>',
                    'options' => [
                        'class' => 'location-link',
                    ],
                    'links' => $this->params['breadcrumbs'],
                ]) ?>

                <a class="location-back" href="javascript:history.back()"><span class="iconfont icon-leftbig"></span> 返回</a>
            </div>
        </div>
    <?php } ?>

    <?= $content ?>
</div>

<div class="foot">
    <div class="foot-top">
        <p><img src="/img/logo-white.png"/></p>
    </div>

    <div class="foot-body">
        <div class="column-item">
            <h3>Biffar Germnay</h3>
            <br/>
            Biffar GmbH & Co., KG<br/>
            In den Seewiesen 67480 Edenkoben Germany<br/>
            T +49 6323-801-315<br/>
            www.biffar.de<br/>
            info@biffar.de<br/><br/>
            <h3>Biffar China</h3>
            <br/>
            北京 草场地艺术区 241-9<br/>
            T +86 135-0129 3010<br/>
            www.biffar.com.cn<br/>
            info@biffar.com.cn
        </div>
        <div class="column-item">
            <h3>Biffar showrooms in China</h3>
            <br/>
            Shanghai 上海<br/>
            金都路 1199 号 106A<br/>
            T +86 (21) 3159 3615<br/>
            <br/>
            Beijing 北京<br/>
            草场地艺术区 241-9<br/>
            T +86 135-0129 3010
        </div>
        <div class="column-item">
            <br/>
            Shenzhen 深圳<br/>
            笋岗街道宝能第一空间 6 楼 6C20<br/>
            T +86 138-2322 4922<br/>
        </div>
        <div class="column-item">
            <br/>
            Dalian 大连<br/>
            沙河口区工华街 7-1 号<br/>
            T +86 186-0411 1112
        </div>
    </div>

    <div class="foot-bottom">
        <div>
            <a href="https://beian.miit.gov.cn"><span>沪ICP备19000801号-1</span></a>
        </div>
    </div>
</div>
<?php $this->endBody() ?>
</body>
</html>
<?php $this->endPage() ?>
